/**
 * SiteInfo.java
 * 站点配置信息
 * 
 * lssrc.com
 * 2012-12-13
 */
package com.lssrc.pams.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "pams_siteinfo")
public class SiteInfo extends BasePOJO {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private String value;
	private String target;
	private String infoGroup;

	public SiteInfo() {
		super();
	}

	public SiteInfo(Integer id) {
		super();
		this.id = id;
	}

	public SiteInfo(String name, String value, String target, String infoGroup) {
		super();
		this.name = name;
		this.value = value;
		this.target = target;
		this.infoGroup = infoGroup;
	}

	@Id
	@GeneratedValue
	@Column(length = 5)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(length = 100, nullable = false)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(length = 150)
	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Column(length = 150)
	public String getTarget() {
		return this.target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	@Column(length = 20)
	public String getInfoGroup() {
		return infoGroup;
	}

	public void setInfoGroup(String infoGroup) {
		this.infoGroup = infoGroup;
	}

}